import permission from "@/store/modules/permission";
export default function AuthHook() {
  const hasAuth = (code: string) => {
    return permission.btnAuth.includes(code);
  };

  return {
    hasAuth
  };
}
